home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dbcurcmd.man < prev    next >
Text File  |  1993-04-22  |  1KB  |  45 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                 DBCURCMD
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  DBCURCMD
  6.  
  7.   FUNCTION:
  8.        Return the number of the current command.
  9.  
  10.   SYNTAX:
  11.        int DBCURCMD(dbproc)
  12.  
  13.        DBPROCESS *dbproc;
  14.  
  15.   COMMENTS:
  16.  
  17.        o This macro returns the number of the command whose results  are
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   DBCURCMD                Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.          currently being processed.
  27.  
  28.        o The first command in a batch is number 1.  The  command  number
  29.          is  incremented every time dbresults() returns SUCCEED or FAIL.
  30.          (Unsuccessful commands are  counted.)  The  command  number  is
  31.          reset by each call to dbsqlexec() or dbsqlsend().
  32.  
  33.   PARAMETERS:
  34.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  35.            connection for a particular front-end/SQL Server process.  It
  36.            contains all the information that DB-Library uses  to  manage
  37.            communications and data between the front end and SQL Server.
  38.  
  39.   RETURNS:
  40.        The number of the current command.
  41.  
  42.   SEE ALSO:
  43.        DBCMDROW, DBMORECMDS, DBROWS
  44.  
  45.